import layout from "_my/layout";

export default [
  {
    path: "/login",
    name: "login",
    meta: {
      title: "登录",
    },
    component: () =>
      import(/* webpackChunkName: "login-login" */ "@/views/login/login.vue"),
  },
  {
    path: "/",
    component: layout,
    redirect: "/home",
    children: [
      {
        meta: {
          title: "首页",
        },
        path: "/home",
        name: "home",
        component: () => import("@/views/home/home"),
      },
    ],
  },
];
